﻿using System;
using System.Linq;

namespace DesignByFarooq.PowershellByExample
{
    internal sealed class MemoryStatusReaderMatch
    {
        public string Value { get; private set; }
        public int StartPosition { get; private set; }
        public int MatchLength { get; private set; }

        public MemoryStatusReaderMatch(
            string value,
            int startPosition,
            int matchLength
            )
        {
            this.Value = value;
            this.StartPosition = startPosition;
            this.MatchLength = matchLength;
        }
    }
}
